#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int heapDatatype;


typedef struct Heap
{
	heapDatatype* a;
	int size;
	int capacity;
}HP;

void HeadInit(struct Heap* php);

void HeapDestory(struct Heap* php);

void HeapPush(struct Heap* php, heapDatatype x);

void HeapPrintf(struct Heap* php);

void HeapPop(struct Heap* php);

heapDatatype HeapTop(struct Heap* php);
